package com.cw.japp

class AdminAnnouncement {

	String title
	byte[] description
	Integer status
	Date lastModifiedDate
	Date createdDate
	User user

	static belongsTo = [User]

	static mapping = {
		id column: "admin_announcement_id"
		version false
	}

	static constraints = {
		title nullable: true
		description nullable: true
		status nullable: true
		lastModifiedDate nullable: true
		createdDate nullable: true
	}
}
